package com.hckjsec.cloud.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事项材料-格下载对象 applets_wechat_matter_table
 * 
 * @author cyt
 * @date 2022-02-15
 */
public class AppletsWechatMatterTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 主表id */
    @Excel(name = "主表id")
    private Long matterId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String tableName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String namePath;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;


    public AppletsWechatMatterTable() {
    }

    public AppletsWechatMatterTable(Long matterId) {
        this.matterId = matterId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMatterId(Long matterId) 
    {
        this.matterId = matterId;
    }

    public Long getMatterId() 
    {
        return matterId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setNamePath(String namePath) 
    {
        this.namePath = namePath;
    }

    public String getNamePath() 
    {
        return namePath;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("matterId", getMatterId())
            .append("tableName", getTableName())
            .append("namePath", getNamePath())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
